NativeAd

Interface allows to set NativeAdEventListener and to define whether web links are opened by in-app browser or by third-party browsers.

Properties

Link copied to clipboard
abstract val adAssets: NativeAdAssets

Returns ad assets.

Link copied to clipboard
abstract val adInfo: AdInfo
Link copied to clipboard
abstract val adType: NativeAdType

Returns native ad type NativeAdType.

Functions

Link copied to clipboard

Adds listener for receiving notifications about images loading progress.

Link copied to clipboard
abstract fun bindNativeAd(viewBinder: NativeAdViewBinder): <Error class: unknown class>

Bind view with native ad's content.

Link copied to clipboard
abstract fun loadImages()

Asynchronously loads ad's images. Every loaded image is set to corresponding ImageView. Images are not persisted in memory and should be loaded each time ad is being bound.

Link copied to clipboard

Removes listener, so it's no longer notified about images loading progress.

Link copied to clipboard